﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace DongRuanMachineWebService.XmlMapper
{
    public class HIS_ATM_05120Body : CommonBody
    {
        //费用小结
        [XmlElement("amount")]
        public HIS_ATM_05120Amount Amount { get; set; }
        //医保信息
        [XmlElement("extend")]
        public string Extend { get; set; }
        //缴费清单列表
        [XmlArrayAttribute("orders"), XmlArrayItem("order")]
        public List<HIS_ATM_05120Attr> Orders { get; set; }
    }

    public class HIS_ATM_05120Amount
    {
        //门诊流水号
        [XmlElement("clinicNo")]
        public string ClinicNo { get; set; }
        //原始金额
        [XmlElement("originAmount")]
        public string OriginAmount { get; set; }
        //支付总金额
        [XmlElement("totalAmount")]
        public string TotalAmount { get; set; }
    }

    public class HIS_ATM_05120Attr
    {
        //缴费编号
        [XmlAttribute("orderNo")]
        public string OrderNo { get; set; }
        //收费类别
        [XmlAttribute("feesItem")]
        public string FeesItem { get; set; }
        //科室名称
        [XmlAttribute("deptName")]
        public string DeptName { get; set; }
        //处方金额
        [XmlAttribute("orderAmount")]
        public string OrderAmount { get; set; }
    }
}